package com.zzyl.quartz.task;


import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component("contractJob")
public class ContractJob {

    @Autowired
    private IContractService contractService;

    public void updateContractStatus() {
        log.info("更新合同状态定时任务开始");
        contractService.updateContractStatus();
        log.info("更新合同状态定时任务结束");
    }

}
